package com.atguigu.yygh.user.client;

import com.atguigu.yygh.common.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user")
public interface PatientFeignClient {

    @GetMapping("/api/userinfo/patient/auth/get/{id}")
    public R getPatient(@PathVariable("id")long id);
}